package util.math;

import java.util.LinkedList;

public class TokenOperator {
	//Constants:

	//Attributes:

	//Constructors:

	//Methods:
	/**
	 * This method allows to clear a given String array.
	 * @param array
	 * @return clear linked list.
	 */
	public static LinkedList<String> getClearList(String[]array){
		LinkedList<String>list = new LinkedList<String>();
		if(array!=null){
			for (String string : array) {
				if(!string.trim().isEmpty()){
					list.add(string.trim());
				}
			}
		}
		return list;
	}
}
